<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"  lang="en">
<head>
    <meta charset="UTF-8">
    <script type="text/javascript" th:src="@{/static/js/jquery-1.9.1.min.js}"></script>
    <script type="text/javascript" th:src="@{/static/layui-v2.6.13/layui/layui.js}"></script>
    <link rel="stylesheet" type="text/css" th:href="@{/static/layui-v2.6.13/layui/css/layui.css}"/>
    <title>Title</title>
</head>
<body>
<div >
    <div class="layui-card">
        <div class="layui-card-body">
            <table class="layui-table">
                <tr>
                    <td>商品名</td>
                    <td>单价</td>
                    <td>数量</td>
                    <td>总价</td>
                </tr>
                <tr th:each="good:${list}">
                    <td th:text="${good.gName}"></td>
                    <td th:text="${good.gPrice}"></td>
                    <td th:text="${good.count}"></td>
                    <td th:text="${good.money}"></td>
                </tr>
            </table>
        </div>
    </div>
</div>
</body>
</html>